package com.yangyang.androidconnect.phoneinfo.model;

import lombok.Data;

// SMSRecord.java
@Data
public class SMSRecord {
    private String address;
    private String body;
    private long date;
    private int type; // 1:接收, 2:发送
    private long timestamp;

    public SMSRecord() {
    }

    public SMSRecord(String address, String body, long date, int type) {
        this.address = address;
        this.body = body;
        this.date = date;
        this.type = type;
        this.timestamp = System.currentTimeMillis();
    }
}